package org.bright.service.Impl;

import org.bright.dao.UserDao;
import org.bright.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.context.annotation.Bean;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Service;

@Service("userService1")
public class UserServiceImpl implements UserService {

    @Qualifier("user1")
    @Autowired
    UserDao userDao;
    @Override
    public void getList() {
        userDao.getDings();
    }
}
